# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  #This method formats the date into day of week,month day,year format
  #eg: Friday, December 13 2007
  def dateFormat(date)
    return date.strftime("%A , %B %d %Y")
  end
  #This method generates a link to a RSS feed of the photos of the current user hosted at Flickr
  def getRSSLink()
    return "http://api.flickr.com/services/feeds/photos_public.gne?id=#{LIGHTBOX_CONFIG[:flickr_user_id]}&format=rss_200"
  end
end
